﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Pixysoft.Framework.Sockets
{
    public interface IMessageFactory
    {
        IProtocolMessage CreateMessage(int protocol, int action);

        IProtocolMessage CreateMessage(IProtocolHeader header);
    }
}
